Optimal. Leaf size=18 \[ -\frac{2 x^2}{b \sqrt{\tan (a+b x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.122961, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 45, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.022, Rules used = {3721} \[ -\frac{2 x^2}{b \sqrt{\tan (a+b x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3721
Rubi steps
\begin{align*} \int \left (\frac{x^2}{\tan ^{\frac{3}{2}}(a+b x)}-\frac{4 x}{b \sqrt{\tan (a+b x)}}+x^2 \sqrt{\tan (a+b x)}\right ) \, dx &=-\frac{4 \int \frac{x}{\sqrt{\tan (a+b x)}} \, dx}{b}+\int \frac{x^2}{\tan ^{\frac{3}{2}}(a+b x)} \, dx+\int x^2 \sqrt{\tan (a+b x)} \, dx\\ &=-\frac{2 x^2}{b \sqrt{\tan (a+b x)}}\\ \end{align*}
Mathematica [A] time = 0.885471, size = 18, normalized size = 1. \[ -\frac{2 x^2}{b \sqrt{\tan (a+b x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.218, size = 0, normalized size = 0. \begin{align*} \int -4\,{\frac{x}{b\sqrt{\tan \left ( bx+a \right ) }}}+{x}^{2}\sqrt{\tan \left ( bx+a \right ) }+{{x}^{2} \left ( \tan \left ( bx+a \right ) \right ) ^{-{\frac{3}{2}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{2} \sqrt{\tan \left (b x + a\right )} + \frac{x^{2}}{\tan \left (b x + a\right )^{\frac{3}{2}}} - \frac{4 \, x}{b \sqrt{\tan \left (b x + a\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.61129, size = 42, normalized size = 2.33 \begin{align*} -\frac{2 \, x^{2}}{b \sqrt{\tan \left (b x + a\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{\int - \frac{4 x}{\sqrt{\tan{\left (a + b x \right )}}}\, dx + \int \frac{b x^{2}}{\tan ^{\frac{3}{2}}{\left (a + b x \right )}}\, dx + \int b x^{2} \sqrt{\tan{\left (a + b x \right )}}\, dx}{b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: RuntimeError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]